Trees | Indices | Toggle frames |
---|
Operating-system-level functionality.
The platform instance can only be obtained with get_platform. Use the platform to obtain a Display instance.
Display |
get_display(self,
name)
Get a display device by name.
|
Display |
get_default_display(self)
Get the default display device.
|
Get a display device by name.
This is meaningful only under X11, where the name
is a
string including the host name and display number; for example
"localhost:1".
On platforms other than X11, name
is ignored and the default
display is returned. pyglet does not support multiple multiple
video devices on Windows or OS X. If more than one device is
attached, they will appear as a single virtual device comprising
all the attached screens.
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Thu Dec 31 17:58:20 2009 | http://epydoc.sourceforge.net |